package itheima;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author shkstart
 * @create 2022-09-14-15:47
 */
@Slf4j//可以直接使用日志
@SpringBootApplication
@ServletComponentScan
@EnableTransactionManagement//开启事物注解的支持
public class ReggieApplicaation {
    public static void main(String[] args) {
        SpringApplication.run(ReggieApplicaation.class,args);
        log.info("项目启动成功。。。。");
    }
}
